{% extends 'layout.html' %}
{% block head %}
    {{ super() }}
    <title>login</title>
{% endblock %}
{% block body %}
    {% if error %}<p class="error">{{ error }}</p>{% endif %}
    <form action="{{ url_for('login') }}" method="POST">
        <label>username: <input type="text" name="username"/></label>
        <label>password: <input type="password" name="password"/></label>
        <input type="submit" value="login">
    </form>
{% endblock %}